﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class DanhSachMonBUS
    {  
        public static bool ThemMon(DanhSachMonDTO mon)
        {
            return DanhSachMonDAO.ThemMon(mon);
        }

        public static bool TraMon(DanhSachMonDTO mon)
        {
            return DanhSachMonDAO.TraMon(mon);
        }

        public static bool XoaDanhSachMon(BanDTO ban)
        {
            return DanhSachMonDAO.XoaDanhSachMon(ban);
        }

        public static List<DanhSachMonDTO> LayDanhSachMon(BanDTO ban)
        {
            return DanhSachMonDAO.LayDanhSachMon(ban);
        }
    }
}
